// 公共接口
import http from "../common/http.js";

export function getUpgradeCondition(data, loading) {
  return http.GET(
    "/team_grades/team-user-level/get-upgrade-condition",
    data,
    loading
  );
}

export function getAuditInfo(data, loading) {
  return http.GET("/team_grades/team-user-level/get-audit-info", data, loading);
}

export function applySubmit(data, loading) {
  return http.POSTJSON(
    "/team_grades/team-user-level/apply-submit",
    data,
    loading
  );
}

export function poolIndex(data, loading) {
  return http.GET("/team_grades/team-user-pool/pool-index", data, loading);
}

export function poolList(data, loading) {
  return http.GET("/team_grades/team-user-pool/pool-list", data, loading);
}

export function orderPoolList(data, loading) {
  return http.GET("/team_grades/team-user-pool/order-pool-list", data, loading);
}
